@import "./scroll.scss";

html,body{
  height: 100%;
  width: 100%;
  font-family: 'Montserrat', sans-serif;
}
#app{
  .content_wrap{
    color: #d3d6dd;
  }
}

html .el-message {
  --yh-bg-color-container: #242424;
  --yh-shadow-3: 0 16px 24px rgba(0, 0, 0, .14), 0 6px 30px rgba(0, 0, 0, 12%), 0 8px 10px rgba(0, 0, 0, 20%);
  --yh-shadow-inset-top: inset 0 .5px 0 #5e5e5e;
  --yh-shadow-inset-right: inset .5px 0 0 #5e5e5e;
  --yh-shadow-inset-bottom: inset 0 -.5px 0 #5e5e5e;
  --yh-shadow-inset-left: inset -.5px 0 0 #5e5e5e;
  --yh-text-color-primary:rgba(255, 255, 255, .9);
  --yh-brand-color: #0052d9;
  --yh-success-color: #059465;
  --yh-error-color: #c64751;
  --yh-warning-color: #cf6e2d;

  background-color: var(--yh-bg-color-container) ;
  box-shadow: var(--yh-shadow-3), var(--yh-shadow-inset-top),
    var(--yh-shadow-inset-right), var(--yh-shadow-inset-bottom),
    var(--yh-shadow-inset-left);
  border: none ;
  color: var(--yh-text-color-primary) ;
  margin-top: 90px;
  .el-message__icon {
    font-size: 20px;
  }

  &.el-message--info .el-message__icon {
    color: var(--yh-brand-color);
  }

  &.el-message--success .el-message__icon {
    color: var(--yh-success-color);
  }

  &.el-message--warning .el-message__icon {
    color: var(--yh-warning-color);
  }

  &.el-message--error .el-message__icon {
    color: var(--yh-error-color);
  }

  .el-message__content {
    color: var(--yh-text-color-primary);
  }
}

html .el-message-box {
  --el-messagebox-title-color: rgba(255, 255, 255, .9);
  --el-messagebox-width: 420px;
  --el-messagebox-border-radius: 4px;
  --el-messagebox-font-size: var(--el-font-size-large);
  --el-messagebox-content-font-size: var(--el-font-size-base);
  --el-messagebox-content-color: rgba(255, 255, 255, .9);
  --el-messagebox-error-font-size: 12px;
  --el-messagebox-padding-primary: 15px;
  display: inline-block;
  max-width: var(--el-messagebox-width);
  width: 100%;
  padding-bottom: 10px;
  vertical-align: middle;
  background-color: #242424;
  border: none;
  font-size: var(--el-messagebox-font-size);
  box-shadow: var(--el-box-shadow-light);
  text-align: left;
  overflow: hidden;
  backface-visibility: hidden;
}

.beautify-scroll-def {
  overflow-y: auto;
  
  &::-webkit-scrollbar-thumb {
    //滚动条的设置
    background-color: rgba(14, 59, 150, 0);
    background-clip: padding-box;
    border-radius: 4px;
  }
  
  &:hover {
    &::-webkit-scrollbar-thumb {
      //滚动条的设置
      background-color: rgba(14, 59, 150, 0.5);
      background-clip: padding-box;
      border-radius: 4px;
    }
  }
  
  &::-webkit-scrollbar-track-piece {
    //滚动条凹槽的颜色，还可以设置边框属性
    background-color: transparent;
  }

  &::-webkit-scrollbar {
    //滚动条的宽度
    width: 8px;
    height: 8px;
  }
  
  
  
  &::-webkit-scrollbar-thumb:hover {
    background-color: rgba(14, 59, 150, .8);
  }
}

.labels-12 {
  flex-shrink: 0;
  color: #ccccd6;
  font-size: 12px;
}

.labels-15 {
  flex-shrink: 0;
  color: #ccccd6;
  font-size: 15px;
}

.labels-20 {
  flex-shrink: 0;
  color: #ccccd6;
  font-size: 20px;
}

.primary-12 {
  color: $primary-color;
  font-size: 12px;
}

.primary-15 {
  color: $primary-color;
  font-size: 15px;
}

.primary-20 {
  color: $primary-color;
  font-size: 20px;
}

.info-12 {
  color: $info-color;
  font-size: 12px;
}

.info-15 {
  color: $info-color;
  font-size: 15px;
}

.info-20 {
  color: $info-color;
  font-size: 20px;
}

.info-25 {
  color: $info-color;
  font-size: 25px;
}

.warning-12 {
  color: $warning-color;
  font-size: 12px;
}

.warning-15 {
  color: $warning-color;
  font-size: 15px;
}

.warning-20 {
  color: $warning-color;
  font-size: 20px;
}

.danger-12 {
  color: $danger-color;
  font-size: 12px;
}

.danger-15 {
  color: $danger-color;
  font-size: 15px;
}

.danger-20 {
  color: $danger-color;
  font-size: 20px;
}